package com.feinno.urcs.group.siptask.task;

import com.feinno.superpojo.SuperPojo;
import com.feinno.superpojo.annotation.Field;
import com.feinno.urcs.group.entity.GroupFileInfo;
import com.feinno.urcs.types.MobileNo;

import java.util.Date;

/**
 * Created by liufeng on 2015/5/13.
 */
public class GroupFileTransferArgs extends SuperPojo implements Cloneable {

    @Field(id = 1)
    private int groupId;

    @Field(id = 2)
    private MobileNo fromMobile;

    @Field(id = 3)
    private MobileNo toMobile;

    @Field(id = 4)
    private GroupFileInfo groupFileInfo;

    @Field(id = 5)
    private Date sendTime;

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public MobileNo getFromMobile() {
        return fromMobile;
    }

    public void setFromMobile(MobileNo fromMobile) {
        this.fromMobile = fromMobile;
    }

    public MobileNo getToMobile() {
        return toMobile;
    }

    public void setToMobile(MobileNo toMobile) {
        this.toMobile = toMobile;
    }

    public GroupFileInfo getGroupFileInfo() {
        return groupFileInfo;
    }

    public void setGroupFileInfo(GroupFileInfo groupFileInfo) {
        this.groupFileInfo = groupFileInfo;
    }

    public String toString()
    {
        StringBuffer sb = new StringBuffer();
        sb.append("groupId: " + this.groupId + "|");
        sb.append("fromMobile: " + this.fromMobile + "|");
        sb.append("toMobile: " + this.toMobile + "|");

        return  sb.toString();
    }
}